package com.lms.common.web.exception;

import com.lms.common.web.utils.CheckEntityResult;
import com.lms.common.web.utils.SingleCheckEntityResult;
import lombok.Getter;

import java.util.List;

public class CheckEntityException extends RuntimeException{
    @Getter
    private final List<SingleCheckEntityResult> result;
    public CheckEntityException(CheckEntityResult e) {
        this.result = e.getResult();
    }
}
